package com.wdf.swagger.entity;

import io.swagger.annotations.ApiModelProperty;

/**
 * @author wdf
 * @create 2019-05-15 16:30
 **/
public class User {
    public User(Long id,String name){
        this.id = id;
        this.name = name;
    }
    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("姓名")
    private String name;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
